EAS Update
柔軟にExpoのOTA updateができる
前提
expo-updatesが入っている必要がある
Update Layerのみ更新できる
https://gyazo.com/2a922ce3bcf87e8cf521019d9b1fe6bd https://docs.expo.dev/eas-update/how-eas-update-works/
EASのbuild/branch/channelの関係性
Expoのdeployのパターン
docs
参考
EAS Update is now generally available | by Jon Samp | Exposition
概要
Sunsetting “expo publish” and Classic Updates | by Jon Samp | Exposition
Expo Cliassic Updatesの修了についてとEAS Updateでできることの概要
How EAS Update works - Expo Documentation
#WIP
https://expo.dev/changelog/2024/01-18-sdk-50#eas-update
Expo v50
useUpdates()
https://docs.expo.dev/versions/v50.0.0/sdk/updates/#useupdates
ダッシュボードのUI変わった
https://expo.dev/changelog/2023/12-13-eas-update-ui
Rollbackできる
https://docs.expo.dev/eas-update/rollbacks/
expo publishをrollbackする?
Rollout
https://docs.expo.dev/eas-update/rollouts/
更新をrolloutできる
段階的に公開できる
https://zenn.dev/n_harada/scraps/73337ba2edfe29
1度はdev環境で試してみないと怖いなあmrsekut.icon
runtime version
https://docs.expo.dev/eas-update/runtime-versions/
native部分を変更して、JS native interfaceを変更する場合は、runtime versionが更新される必要がある
#??
messageってなに #??
$ eas update --branch branch --message message
どこに表示されるやつ?store?
https://docs.expo.dev/eas-update/getting-started/
これの代替放っ法
expo publishをrollbackする
λ expo publish:history
λ expo publish:set
todos
この辺のノートが古くなっている気がするのでどうにかしたい
Automatic Updates?
ExpoのOTA update
本番環境にλ eas updateだけでpublishできる
GitHub ActionsでEAS Updateすることでtestやpublishを便利にする
PR作られたらQRコード発行したり、
mergeされたらpublishしたり
Expoのdeployのパターンがより柔軟に
branchの概念が増えたことで、stgでテストしてokならprodへgoみたいにできる
rollbackも可能
rolloutできる
一部のユーザーにアップデートを送信した後、全員に送信することができる
ダッシュボードがある
アップデートの内容やビルドとの関連性を表示する
ユーザがどのversionを使っているかを追跡可能
https://blog.expo.dev/eas-update-is-now-generally-available-6532d25e750#:~:text=Iterate%20with%20your%20team
配信の質の向上
グローバルCDNは、ユーザーの近くにあるエッジにアセットをキャッシュする
Gzipよりも14%小さいJavaScriptファイルサイズを誇るBrotli圧縮により、ユーザーがより速くアップデートを受け取れる
Expo Updates Protocolの提供
https://blog.expo.dev/sunsetting-expo-publish-and-classic-updates-6cb9cd295378
自分のインフラに、このprotocolに準拠したupdate serverを構築できる
何が嬉しい #??
自分のインフラを建てずに使えるのがEAS Update
Expoの提供するインフラに乗っかってる感じ
Pricing
スタートアップのための無料プランと
使用量に応じてスケールアップする使用量ベースの価格設定
https://expo.dev/pricing
#??
初回のbranchの作成の仕方
何も表示されていない
https://gyazo.com/bd572b1b858b7eed72f518db1c3d5768 https://gyazo.com/3a13f078ef17baad37bc3381f8942426
λ eas branch:listしても何も出ない
Introduction
Getting started
Using GitHub Actions
Developing with EAS Update
How EAS Update works
Deployment patterns
Debugging EAS Update
EAS Update with a local build
Using EAS Update with EAS CLI
How to optimize assets for EAS Update
Runtime versions and updates
Using environment variables with EAS Update
Using expo-dev-client with EAS Update
Code Signing
more
Migrating from Classic Updates to EAS Update
Rollouts
FAQ
Known issues
https://docs.expo.dev/eas-update/how-eas-update-works/
仕組み
https://docs.expo.dev/eas-update/expo-dev-client/
https://blog.expo.dev/introducing-end-to-end-security-to-eas-update-with-code-signing-b6a14d0d88d4
2022/11/5
EAS Updateでコード署名